package com.fr.report.web;

import com.fr.base.ArrayUtils;

public class WebForm extends WebContent
{
  public static final String EVENT_BEFORE_SUBMIT = "beforesubmit";
  public static final String EVENT_AFTER_SUBMIT = "aftersubmit";
  public static final String EVENT_SUBMIT_SUCCESS = "submitsuccess";
  public static final String EVENT_SUBMIT_FAILURE = "submitfailure";

  public String[] supportedEvents()
  {
    return ((String[])ArrayUtils.addAll(super.supportedEvents(), new String[] { "beforesubmit", "aftersubmit", "submitsuccess", "submitfailure" }));
  }
}